<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('付款申请单打印')" />
	<style type="text/css">
	body {
			overflow-x: auto;
		}
		table {
			font-size: 12px;
			font-weight:500;
			font-family: 线体;
			margin: auto;
	    	border-collapse: collapse;
		}
	    table, tr, td{
		    text-align: center;
		    width: 1100px;
		    height: 40px;
		}
		.items td{ height:30px; border: 1px solid black;}
		
		@media print{
		   body {
		       height: auto !important;
		   }
		}
	</style>
</head>
<body class="white-bg">
    <table style="margin-top: 0px;">
		<!-- 打印网页时通过hidden-print隐藏元素 -->
	    <div class="text-right hidden-print">
	        <button class="btn btn-primary" onclick="printPage()"><i class="fa fa-print"></i> 打印</button>
	    </div>
	    <tr>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 15%">&nbsp;</td>
			<td style="width: 20%">&nbsp;</td>
			<td style="width: 7%">&nbsp;</td>
			<td style="width: 7%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%">&nbsp;</td>
		</tr>
		<tr style="height: 60px;">
			<td><img style="height: 30px" src="/ruoyi.png"></td>
			<td colspan="7" style="font-size: 25px;font-family: 线体;font-weight:500;">湖北鄂能电力建设有限公司-还款确认单</td>
		</tr>
		<tr style="height: 60px;">
			<td>&nbsp;</td>
			<td colspan="7" style="font-size: 15px;font-family: 线体;font-weight:500;">
			<b><span th:text="${#dates.format(obj.riq, 'yyyy年MM月dd日')}"></span></b>
			</td>
		</tr>
		
	</table>
	<table class="items">
		<tr>
			<td style="width: 12%"><b>还款确认人</b></td>
			<td style="width: 30%" th:text="${obj.hkr}">&nbsp;</td>
			<td style="width: 22%"><b>借款时间</b></td>
			<td style="width: 12%" colspan="3" th:text="${#dates.format(obj.jkrAt, 'yyyy年MM月dd日')}">&nbsp;</td>
		</tr>
		<tr>
			<td style="width: 12%"><b>应还款金额</b></td>
			<td style="width: 30%" th:text="${obj.jkrje}">&nbsp;</td>
			<td style="width: 22%"><b>还款时间</b></td>
			<td style="width: 12%" colspan="3" th:text="${#dates.format(obj.hkrAt, 'yyyy年MM月dd日')}">&nbsp;</td>
		</tr>
		<tr>
			<td style="width: 12%"><b>单位名称</b></td>
			<td style="width: 30%" th:text="${obj.skdw}">&nbsp;</td>
			<td style="width: 22%"><b>纳税识别号/身份证号</b></td>
			<td style="width: 12%" colspan="3" th:text="${obj.nssbh}">&nbsp;</td>
		</tr>
		<tr>
			<td style="width: 12%"><b>开户银行</b></td>
			<td style="width: 30%" th:text="${obj.khyh}">&nbsp;</td>
			<td style="width: 22%"><b>开户账号</b></td>
			<td style="width: 12%" colspan="3" th:text="${obj.skzh}">&nbsp;</td>
		</tr>
		<tr>
			<td style="width: 12%"><b>序&nbsp;&nbsp;&nbsp;&nbsp;号</b></td>
			<td style="width: 30%" colspan="2"><b>还款事项摘要说明说明</b></td>
			<td style="width: 12%"><b>还款金额</b></td>
			<td style="width: 12%"><b>还款方式</b></td>
			<td style="width: 12%"><b>备注</b></td>
		</tr>
		<tr th:each="lis,status:${obj.item}">
			<td style="width: 12%" th:text="${status.count}">&nbsp;</td>
			<td style="width: 30%" colspan="2" th:text="${lis.descs}">&nbsp;</td>
			<td style="width: 12%" th:text="${#numbers.formatDecimal(lis.jine, 1, 2)}">&nbsp;</td>
			<td style="width: 12%" th:text="${lis.type}">&nbsp;</td>
			<td style="width: 12%" th:text="${lis.memo}">&nbsp;</td>
		</tr>
		<tr>
			<td style="width: 12%"><b>合计金额(大写)</b></td>
			<td style="width: 30%" colspan="2" th:text="${obj.hjje}">&nbsp;</td>
			<td style="width: 12%">¥<span th:text="${#numbers.formatDecimal(obj.hejexx, 1, 2)}"></span></td>
			<td style="width: 22%" colspan="2">&nbsp;</td>
		</tr>
	</table>
	<table style="margin-top: 15px;">
		<tr>
			<td colspan="2" style="width: 22%;text-align: left;"><b>申请人：</b><span th:text="${obj.hkr}"></span></td>
			<td colspan="2" style="width: 14%;text-align: left;"><b>财务审核：</b><span th:text="${obj.hkspr}"></span></td>
			<td style="width: 10%">&nbsp;</td>
			<td style="width: 10%;text-align: left;"><b>总经理审批：</b><span th:text="${obj.hkjkldsp}"></span></td>
			<td style="width: 10%">&nbsp;</td>
		</tr>
	</table>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        function printPage() {
            window.print();
        }
    </script>
</body>
</html>